<%@ Page Language="C#" AutoEventWireup="true" CodeFile="jobmanager.aspx.cs" Inherits="Recruiters_jobmanager" %>

 
<%@ Register Src="rcBottom.ascx" TagName="rcBottom" TagPrefix="uc8" %>
<%@ Register Src="rcMenu.ascx" TagName="rcMenu" TagPrefix="uc7" %>
 
<%@ Register Src="rcTop.ascx" TagName="rcTop" TagPrefix="uc1" %>


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head id="Head1" runat="server">
    <title>::Job Manager</title>
    <LINK href="../css/newstyle.css" rel=stylesheet>
    <LINK href="../css/style.css" rel=stylesheet>
    <META http-equiv=Content-Type content="text/html; charset=utf-8">
</head>
<body topmargin=0 leftmargin=0 bottommargin=0 rightmargin=0 style="font-size: 12pt">
    <form id="form1" runat="server">
    <div>
        <table align="center" style="width: 770px" title="Job Manager">
            <tr>
                <td valign="top" colspan="4">
                    <uc1:rcTop ID="RcvTop1" runat="server" />
                </td>
            </tr>
            <tr>
                 
                <td align="center" colspan="4" valign="top">
                </td>
            </tr>
            <tr>
                <td colspan="4" style="height: 21px" valign="top">
                    <uc7:rcMenu ID="rcMenu1" runat="server" />
                </td>
            </tr>
            <tr>
               
                <td style="width: 3px; height: 351px">
                </td>
                <td style="width: 100%" valign="top">
                    <table border="0" style="width: 100%">
                        <tr>
                            <td align="center" style="height: 12px; text-align: left" valign="top">
                                <table style="width: 100%">
                                    <tr>
                                        <td style="width: 340px; height: 16px">
                                            <b>
                                                <asp:Image ID="Image1" runat="server" ImageUrl="~/Icons/titlenote.gif" />
                                                <asp:Literal ID="litType" runat="server" Text="Job Manager"></asp:Literal>&nbsp;</b></td>
                                    </tr>
                                </table>
                                </td>
                            <td align="right">
                                &nbsp;<asp:DropDownList ID="ddlStatus" runat="server" AutoPostBack="True" OnSelectedIndexChanged="ddlStatus_SelectedIndexChanged"
                                    Width="155px">
                                    <asp:ListItem Value="1">Activate jobs</asp:ListItem>
                                    <asp:ListItem Value="0">Closed jobs</asp:ListItem>
                                </asp:DropDownList>
                                <asp:Button ID="btnPrint" runat="server" Text="Print" Width="57px" />
                                </td>
                        </tr>
                        <tr>
                            <td align="left" colspan="2">
                                <hr size="1" />
                            </td>
                        </tr>
                        <tr>
                            <td align="center" colspan="2" style="text-align: left" valign="top">
                                <asp:GridView ID="GridView1" runat="server" AllowSorting="True" AutoGenerateColumns="False"
                                    OnSorting="GridView1_Sorting" PageSize="20" Width="100%">
                                    <PagerSettings Mode="NumericFirstLast" />
                                    <Columns>
                                        <asp:TemplateField HeaderText="#">
                                            <ItemTemplate>
                                                <asp:CheckBox ID="chkJobID" runat="server" />
                                            </ItemTemplate>
                                        </asp:TemplateField>
                                        <asp:BoundField DataField="JobID" HeaderText="JobID" SortExpression="JobID" />
                                        <asp:HyperLinkField DataNavigateUrlFields="JobID,RecruiterID" DataNavigateUrlFormatString="JobDetails.aspx?JobID={0}&amp;RecruiterID={1}"
                                            DataTextField="JobTitle" HeaderText="Job Title" SortExpression="JobTitle" />
                                        <asp:BoundField DataField="JobNo" HeaderText="JobNo" SortExpression="JobNo" />
                                        <asp:BoundField DataField="CompanyName" HeaderText="Company Name" SortExpression="CompanyName" />
                                        <asp:BoundField DataField="JobCategoryName" HeaderText="Job Category" />
                                        <asp:BoundField DataField="PostDate" HeaderText="Post Date" SortExpression="PostedDate">
                                            <ItemStyle HorizontalAlign="Center" />
                                            <HeaderStyle HorizontalAlign="Center" />
                                        </asp:BoundField>
                                        <asp:BoundField DataField="CloseDate" HeaderText="Close Date" SortExpression="ClosedDate">
                                            <ItemStyle HorizontalAlign="Center" />
                                            <HeaderStyle HorizontalAlign="Center" />
                                        </asp:BoundField>
                                        <asp:BoundField DataField="UpdateDate" HeaderText="Updated Date" SortExpression="UpdatedDate" />
                                        <asp:BoundField DataField="Status" HeaderText="Status" />
                                    </Columns>
                                </asp:GridView>
                                &nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;</td>
                        </tr>
                        <tr>
                            <td align="center" style="text-align: left" valign="top" width="70%">
                                &nbsp;<asp:Button ID="btnDelete" runat="server" Text="Delete" OnClick="btnDelete_Click" />&nbsp;
                                <br />
                                <br />
                                <asp:Literal ID="literalTotalText" runat="server" Text="Total jobs: "></asp:Literal>
                                <asp:Literal ID="literalTotal" runat="server" Text="0"></asp:Literal>
                                <asp:Literal ID="literalRecords" runat="server"></asp:Literal>&nbsp;
                                <asp:Literal ID="literalPageText" runat="server" Text=" - Display page: "></asp:Literal>
                                <asp:Literal ID="literalCurrentPage" runat="server" Text="1"></asp:Literal>
                                <asp:Literal ID="literalOfText" runat="server" Text="of"></asp:Literal>
                                <asp:Literal ID="literalPages" runat="server"></asp:Literal>
                            </td>
                            <td style="text-align: right" width="30%">
                                <asp:Panel ID="panelNavigation" runat="server">
                                </asp:Panel>
                            </td>
                        </tr>
                        <tr>
                            <td align="center" colspan="2" style="text-align: center" valign="top">
                                <b>
                                    <asp:Literal ID="litError" runat="server"></asp:Literal></b></td>
                        </tr>
                    </table>
                </td>
                <td style="width: 1px; height: 351px" valign="top">
                </td>
            </tr>
            <tr>
              <td align="center" colspan="4">
                  <uc8:rcBottom ID="RcvBottom1" runat="server" />
                </td>
            </tr>
        </table>
    
    </div>
    </form>
</body>
</html>


